#include <stdio.h>
#include <stdlib.h>
int main(){
	int i,j,x=5,y=10;
	char input;
	while(1){
		system("CLS");
	for(i=0;i<x;i++)
	    printf("\n");
	for(j=0;j<y;j++)
	    printf(" ");
	printf("*"); 
	input=getch();
	if(input=='w')
	x--;
	if(input=='a')
	y--;
	if(input=='s')
	x++;
	if(input=='d')
	y++;}
	return 0;
} 
